﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data.SqlClient;
using System.Data;
using System.Collections;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;

using DataAccess;
using Entities;
using Common;

namespace BusinessLogic
{
    public static class HienThi_ChiTiet_DonDatHang
    {
        #region ================================khai bao - khoi tao=====================================================================
        /// <summary>
        /// khai bao bien
        /// </summary>
        private static Entities.HienThi_ChiTiet_DonDatHang hienthi;
        #endregion

        #region ==================================Xu ly=====================================================================================
 
      
        /// <summary>
        /// lay hang hóa theo ma hang hoa
        /// </summary>
        /// <param name="giatri"></param>
        /// <returns></returns>
        public static Entities.HienThi_ChiTiet_DonDatHang sp_LayHangHoaTheoMaHangHoa(Entities.HienThi_ChiTiet_DonDatHang giatri)
        {
            Entities.HienThi_ChiTiet_DonDatHang data = new Entities.HienThi_ChiTiet_DonDatHang();
            try
            {
                data =  BusinessLogic.HangHoaGoiHang.Select(giatri.MaHangHoa);
            }
            catch (Exception ex)
            { string s = ex.Message.ToString(); }
            return data;
        }
        #endregion
    }
}
